<?php echo $formOpen; ?>
<?php if( strlen($buttons) ){ ?>
  <div class="control-buttons">
<?php   if( strstr($buttons,'s') ){ ?>
  <button type="submit" name="save">
      <img src="images/save.png" alt="Opslaan">
      Opslaan
  </button>
<?php   }if( strstr($buttons,'r') ){ ?>
  <button type="submit">
      <img src="images/refresh.png" alt="Vernieuwen">
      Vernieuwen
  </button>
<?php  } ?>
</div>
<?php } ?>
	<div class="tabber">
<?php foreach ( $tabs as &$tab ){ ?>
		<div class="tabbertab <?php echo $tab->active ? 'tabbertabdefault' : '';  ?>" title="<?php echo $tab->title; ?>">
			<?php echo $tab->content; ?>
		
		</div>
<?php } ?>
	</div>
<?php echo $formClose; ?>
